﻿<UserControl x:Class="Hayabusa._Chauffeurs.AfficherView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:cal="http://www.caliburnproject.org"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Width="784" Height="425">
    <Grid Width="784" Height="425" Background="#FF4C5F81">
        <Rectangle Height="339" HorizontalAlignment="Left" Margin="12,42,0,0" Stroke="#FFCED4DF" VerticalAlignment="Top" Width="674">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFCFCFC" Offset="0" />
                    <GradientStop Color="#FFCED4DF" Offset="1" />
                    <GradientStop Color="#FFD7DCE5" Offset="0.525" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Rectangle Height="339" HorizontalAlignment="Right" Margin="0,42,12,0" Stroke="#FFCED4DF" VerticalAlignment="Top" Width="80">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFCFCFC" Offset="0" />
                    <GradientStop Color="#FFCED4DF" Offset="1" />
                    <GradientStop Color="#FFD7DCE5" Offset="0.525" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Image Height="48" HorizontalAlignment="Right" Margin="0,66,26,0" Stretch="Fill" VerticalAlignment="Top" Width="48" Source="/Hayabusa;component/Resources/aide.png" />
        <Button Content="Aide" Height="33" HorizontalAlignment="Left" Margin="708,120,0,0" VerticalAlignment="Top" Width="48" />
        <DataGrid AutoGenerateColumns="False" Height="299" HorizontalAlignment="Left" Margin="24,66,0,0" VerticalAlignment="Top" Width="650" ItemsSource="{Binding Chauffeurs}" RowBackground="#FFF5F6F8" AlternatingRowBackground="#FF49B2DE" IsReadOnly="True">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Nom}" Header="Nom" Width="110"/>
                <DataGridTextColumn Binding="{Binding Prenom}" Header="Prenom" Width="110"/>
                <DataGridTextColumn Binding="{Binding Telephone}" Header="Téléphone" Width="110" />
                <DataGridTextColumn Header="Déplacement en cours" Width="310" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</UserControl>
